<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:59:"D:\tp5o2o\public/../application/index\view\index\index.html";i:1519530143;s:49:"D:\tp5o2o\application\index\view\public\head.html";i:1519611431;s:48:"D:\tp5o2o\application\index\view\public\nav.html";i:1519530143;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="x-ua-compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title><?php echo $title; ?></title>
    <link rel="shortcut icon" href="">
    <link rel="stylesheet" href="/static/index/css/base.css"/>
    <link rel="stylesheet" href="/static/index/css/common.css"/>
    <link rel="stylesheet" href="/static/index/css/<?php echo $controller; ?>.css"/>
    <script type="text/javascript" src="/static/index/js/html5shiv.js"></script>
    <script type="text/javascript" src="/static/index/js/respond.min.js"></script>
    <script type="text/javascript" src="/static/index/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="/static/index/js/common.js"></script>
</head>
<body>
<div class="header-bar">
    <div class="header-inner">
        <ul class="father">
            <li><a><?php echo $citys['name']; ?></a></li>
            <li>|</li>
            <li class="city">
                <a>切换城市<span class="arrow-down-logo"></span></a>
                <div class="city-drop-down">
                    <h3>热门城市</h3>
                    <ul class="son">
                        <?php if(is_array($city) || $city instanceof \think\Collection || $city instanceof \think\Paginator): $i = 0; $__LIST__ = $city;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li><a href="<?php echo url('index/index',['city'=> $vo['uname']]); ?>"><?php echo str_repeat('----',$vo['level']); ?><?php echo $vo['name']; ?></a>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </li>
            <?php if(!(empty($user) || (($user instanceof \think\Collection || $user instanceof \think\Paginator ) && $user->isEmpty()))): ?>
                <li>欢迎登录糯米网! <?php echo $user['username']; ?></li>
            <li><a href="<?php echo url('user/logout'); ?>">退出登录</a></li>
            <?php else: ?>
            <li><a href="<?php echo url('user/register'); ?>">注册</a></li>
            <li>|</li>
            <li><a href="<?php echo url('user/login'); ?>">登录</a></li>
            <?php endif; ?>
            <li><a href="<?php echo url('bis/login/index'); ?>">商户中心</a></li>
        </ul>
    </div>
</div>
<div class="search">
    <img src="/static/index/image/logo.png"/>
</div>

<div class="nav-bar-header">
    <div class="nav-inner">
        <ul class="nav-list">
            <li class="nav-item">
                <span class="item">全部分类</span>
                <div class="left-menu">
                    <?php if (is_array($categorys) || $categorys instanceof \think\Collection || $categorys instanceof \think\Paginator): $i = 0;
                        $__LIST__ = $categorys;
                        if (count($__LIST__) == 0) : echo "";
                        else: foreach ($__LIST__ as $key => $vo): $mod = ($i % 2);
                            ++$i; ?>
                            <div class="level-item">
                                <div class="first-level">
                                    <dl>
                                        <dt class="title"><a href="<?php echo url('lists/index', ['id' => $key]); ?>"
                                                             target="_top"><?php echo $vo['name']; ?></a></dt>
                                        <?php if (is_array($vo['son']) || $vo['son'] instanceof \think\Collection || $vo['son'] instanceof \think\Paginator): $i = 0;
                                            $__LIST__ = is_array($vo['son']) ? array_slice($vo['son'], 0, 2, true) : $vo['son']->slice(0, 2, true);
                                            if (count($__LIST__) == 0) : echo "";
                                            else: foreach ($__LIST__ as $key => $vv): $mod = ($i % 2);
                                                ++$i; ?>
                                                <dd><a href="<?php echo url('lists/index', ['id' => $vv['id']]); ?>"
                                                       target="_top" class=""><?php echo $vv['name']; ?></a>
                                                </dd>
                                            <?php endforeach; endif;
                                        else: echo "";endif; ?>
                                    </dl>
                                </div>
                                <div class="second-level">
                                    <div class="section">
                                        <div class="section-item clearfix no-top-border">
                                            <h3>其他分类</h3>
                                            <ul>
                                                <?php if (is_array($vo['son']) || $vo['son'] instanceof \think\Collection || $vo['son'] instanceof \think\Paginator): $i = 0;
                                                    $__LIST__ = is_array($vo['son']) ? array_slice($vo['son'], 3, null, true) : $vo['son']->slice(3, null, true);
                                                    if (count($__LIST__) == 0) : echo "";
                                                    else: foreach ($__LIST__ as $key => $vv): $mod = ($i % 2);
                                                        ++$i; ?>
                                                        <li><a class="hot"
                                                               href="<?php echo url('lists/index', ['id' => $vv['id']]); ?>"><?php echo $vv['name']; ?></a>
                                                        </li>
                                                    <?php endforeach; endif;
                                                else: echo "";endif; ?>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; endif;
                    else: echo "";endif; ?>
                </div>
            </li>
            <li class="nav-item"><a class="item first active">首页</a></li>
            <li class="nav-item"><a class="item">团购</a></li>
            <li class="nav-item"><a class="item">商户</a></li>
        </ul>
    </div>
</div>



<div class="container">
    <div class="top-container">
        <div class="mid-area">
            <div class="slide-holder" id="slide-holder">
                <a href="#" class="slide-prev"><i class="slide-arrow-left"></i></a>
                <a href="#" class="slide-next"><i class="slide-arrow-right"></i></a>
                <ul class="slideshow">
                    <?php if (is_array($feature1) || $feature1 instanceof \think\Collection || $feature1 instanceof \think\Paginator): $i = 0;
                        $__LIST__ = $feature1;
                        if (count($__LIST__) == 0) : echo "";
                        else: foreach ($__LIST__ as $key => $vo): $mod = ($i % 2);
                            ++$i; ?>
                            <li><a href="" class="item-large"><img class="ad-pic"
                                                                   src="<?php echo $vo['image']; ?>"/></a>
                            </li>
                        <?php endforeach; endif;
                    else: echo "";endif; ?>
                </ul>
            </div>
            <div class="list-container">

            </div>
        </div>
    </div>
    <div class="right-sidebar">
        <div class="right-ad">
            <ul class="slidepic">
                <?php if (is_array($feature2) || $feature2 instanceof \think\Collection || $feature2 instanceof \think\Paginator): $i = 0;
                    $__LIST__ = $feature2;
                    if (count($__LIST__) == 0) : echo "";
                    else: foreach ($__LIST__ as $key => $vo): $mod = ($i % 2);
                        ++$i; ?>
                        <li><a><img src="<?php echo $vo['image']; ?>"/></a></li>
                    <?php endforeach; endif;
                else: echo "";endif; ?>
            </ul>
        </div>

    </div>

    <div class="content-container">
        <div class="no-recom-container">
            <div class="floor-content-start">

                <div class="floor-content">
                    <div class="floor-header">
                        <h3>美食</h3>
                        <ul class="reco-words">
                            <?php if (is_array($cates) || $cates instanceof \think\Collection || $cates instanceof \think\Paginator): $i = 0;
                                $__LIST__ = $cates;
                                if (count($__LIST__) == 0) : echo "";
                                else: foreach ($__LIST__ as $key => $vo): $mod = ($i % 2);
                                    ++$i; ?>
                                    <li><a href="<?php echo url('lists/index', ['id' => $vo->id]); ?>"
                                           target="_blank"><?php echo $vo->name; ?></a></li>
                                <?php endforeach; endif;
                            else: echo "";endif; ?>
                            <li><a class="<?php echo url('lists/index', ['id' => 1]); ?>" target="_blank">全部<span
                                    class="all-cate-arrow"></span></a></li>
                        </ul>
                    </div>
                    <ul class="itemlist eight-row-height">
                        <?php if (!(empty($deals) || (($deals instanceof \think\Collection || $deals instanceof \think\Paginator) && $deals->isEmpty()))): if (is_array($deals) || $deals instanceof \think\Collection || $deals instanceof \think\Paginator): $i = 0;
                            $__LIST__ = $deals;
                            if (count($__LIST__) == 0) : echo "";
                            else: foreach ($__LIST__ as $key => $vo): $mod = ($i % 2);
                                ++$i; ?>
                                <li class="j-card">
                                    <a>
                                        <div class="imgbox">
                                            <ul class="marketing-label-container">
                                                <li class="marketing-label marketing-free-appoint"></li>
                                            </ul>
                                            <div class="range-area">
                                                <div class="range-bg"></div>
                                                <div class="range-inner">
                                                    <span class="white-locate"></span>
                                                </div>
                                            </div>
                                            <div class="borderbox">
                                                <img src="<?php echo $vo->image; ?>"/>
                                            </div>
                                        </div>
                                    </a>
                                    <div class="contentbox">
                                        <a href="<?php echo url('detail/index', ['id' => $vo->id]); ?>" target="_blank">
                                            <div class="header">
                                                <h4 class="title "><?php echo $vo->name; ?></h4>
                                            </div>
                                            <p><?php echo countLocation($vo->location_ids); ?></p>
                                        </a>
                                        <div class="add-info"></div>
                                        <div class="pinfo">
                                            <span class="price"><span
                                                        class="moneyico">¥</span><?php echo $vo->current_price; ?></span>
                                            <span class="ori-price">价值<span
                                                        class="price-line">¥<span><?php echo $vo->origin_price; ?></span></span></span>
                                        </div>
                                        <div class="footer">
                                            <span class="comment">4.6分</span><span
                                                    class="sold">已售<?php echo $vo->buy_count; ?></span>
                                            <div class="bottom-border"></div>
                                        </div>
                                    </div>
                                </li>
                            <?php endforeach; endif;
                        else: echo "";endif;
                        else: ?>
                            <span style="color: #ee5f5b;font-size: 24px;">该城市下没有此类数据</span>
                        <?php endif; ?>
                    </ul>
                </div>
                <div class="floor-content">
                    <div class="floor-header">
                        <h3>丽人</h3>
                        <ul class="reco-words">
                            <li><a href="//t10.nuomi.com/pc/t10/index" target="_blank">精选品牌</a></li>
                            <li><a href="//bj.nuomi.com/380" target="_blank">小吃快餐</a></li>
                            <li><a href="//bj.nuomi.com/392" target="_blank">自助餐</a></li>
                            <li><a href="//bj.nuomi.com/327" target="_blank">其他美食</a></li>
                            <li><a class="no-right-border no-right-padding" target="_blank">全部<span
                                    class="all-cate-arrow"></span></a></li>
                        </ul>
                    </div>
                    <ul class="itemlist eight-row-height">
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info"></div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info">
                                    <span class="promo">立减3.6元</span>
                                </div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info">
                                    <span class="promo">立减3.6元</span>
                                </div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info">
                                    <span class="promo">立减3.6元</span>
                                </div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info">
                                    <span class="promo">立减3.6元</span>
                                </div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info"></div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info">
                                    <span class="promo">立减3.6元</span>
                                </div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info">
                                    <span class="promo">立减3.6元</span>
                                </div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info">
                                    <span class="promo">立减3.6元</span>
                                </div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                        <li class="j-card">
                            <a>
                                <div class="imgbox">
                                    <ul class="marketing-label-container">
                                        <li class="marketing-label marketing-free-appoint"></li>
                                    </ul>
                                    <div class="range-area">
                                        <div class="range-bg"></div>
                                        <div class="range-inner">
                                            <span class="white-locate"></span>
                                            安贞 六里桥 丽泽桥 安定门 劲松 昌平镇 航天桥 通州区 通州北苑
                                        </div>
                                    </div>
                                    <div class="borderbox">
                                        <img src="/static/index/image/b219ebc4b74543a9c6c87b8e18178a82b80114a4.jpg"/>
                                    </div>
                                </div>
                            </a>
                            <div class="contentbox">
                                <a href="//www.nuomi.com/deal/ke0370si.html" target="_blank">
                                    <div class="header">
                                        <h4 class="title ">【6店通用】好伦哥</h4>
                                    </div>
                                    <p>单人自助餐！免费WiFi！</p>
                                </a>
                                <div class="add-info">
                                    <span class="promo">立减3.6元</span>
                                </div>
                                <div class="pinfo">
                                    <span class="price"><span class="moneyico">¥</span>52</span>
                                    <span class="ori-price">价值<span class="price-line">¥<span>56</span></span></span>
                                </div>
                                <div class="footer">
                                    <span class="comment">4.6分</span><span class="sold">已售337334</span>
                                    <div class="bottom-border"></div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="footer-content">
    <div class="copyright-info">

    </div>
</div>

<script>
    var width = 800 * $("#slide-holder ul li").length;
    $("#slide-holder ul").css({width: width + "px"});

    //轮播图自动轮播
    var time = setInterval(moveleft, 5000);

    //轮播图左移
    function moveleft() {
        $("#slide-holder ul").animate({marginLeft: "-737px"}, 600, function () {
            $("#slide-holder ul li").eq(0).appendTo($("#slide-holder ul"));
            $("#slide-holder ul").css("marginLeft", "0px");
        });
    }

    //轮播图右移
    function moveright() {
        $("#slide-holder ul").css({marginLeft: "-737px"});
        $("#slide-holder ul li").eq(($("#slide-holder ul li").length) - 1).prependTo($("#slide-holder ul"));
        $("#slide-holder ul").animate({marginLeft: "0px"}, 600);
    }

    //右滑箭头点击事件
    $(".slide-next").click(function () {
        clearInterval(time);
        moveright();
        time = setInterval(moveleft, 5000);
    });

    //左滑箭头点击事件
    $(".slide-prev").click(function () {
        clearInterval(time);
        moveleft();
        time = setInterval(moveleft, 5000);
    });
</script>
</body>
</html>